package net.martinimix.edesk.search;

import com.bluemartini.dna.BMException;
import com.bluemartini.dna.DNAList;
import com.bluemartini.dna.DNALongArray;
import com.bluemartini.server.BusinessAction;

public class FindProductsByCode extends BusinessAction {

	public DNAList execute(DNAList arg0) throws BMException {
		
		final DNAList response = new DNAList();
		final DNALongArray productArray = new DNALongArray();
		
		productArray.addElement(845524441801700L);
		productArray.addElement(845524441801697L);
		
		
		response.setInteger("totalRows", 2);
		response.setLongArrayRef("productID_ARRAY", productArray);
		
		return response;
	}
	
	

}
